import {ajax,base} from './config'
import axios from 'axios';

// 知识库列表
export const getKnowledgeBaseList  = params => { return ajax.getMinData({url:`${base}/knowledgeBaseController/datagrid.do`, params:params}) };
// 知识库详情
export const getKnowledgeBaseById  = params => { return ajax.postData({url:`${base}/api/knowledgeBase/getKnowledgeBaseById.do`, params:params}) };
//知识库类型列表
export const getTypeNameList  = params => { return axios.post(`${base}/knowledgeBaseTypeController/datagrid.do`, params); };

